package training.oop;

public class StackExample {

	

	public void sayHi(){
		String name ="Baiju";
		System.out.println("Hi " + name);
	}
	
	public void sayHello(){
		String name="Rubeena";
		
		System.out.println("Hello " + name);
		sayHi();
		
		System.out.println("After sayHi " + name );
	}
	
	public static void main(String[] args) {
		
		StackExample example = new StackExample();
		example.sayHello();
		
		//main method 
		//sayHello()
		//sayHi();

	}

}
